package com.yunyike.model;

import java.util.Date;

public class Stock {
    private String stockId;

    private String stockMerchandiseId;

    private String stockMerchandiseName;

    private String stockMerchandiseSpec;

    private Integer stockQty;

    private Integer stockPreSubQty;

    private Date ctime;

    private Date mtime;

    public String getStockId() {
        return stockId;
    }

    public void setStockId(String stockId) {
        this.stockId = stockId == null ? null : stockId.trim();
    }

    public String getStockMerchandiseId() {
        return stockMerchandiseId;
    }

    public void setStockMerchandiseId(String stockMerchandiseId) {
        this.stockMerchandiseId = stockMerchandiseId == null ? null : stockMerchandiseId.trim();
    }

    public String getStockMerchandiseName() {
        return stockMerchandiseName;
    }

    public void setStockMerchandiseName(String stockMerchandiseName) {
        this.stockMerchandiseName = stockMerchandiseName == null ? null : stockMerchandiseName.trim();
    }

    public String getStockMerchandiseSpec() {
        return stockMerchandiseSpec;
    }

    public void setStockMerchandiseSpec(String stockMerchandiseSpec) {
        this.stockMerchandiseSpec = stockMerchandiseSpec == null ? null : stockMerchandiseSpec.trim();
    }

    public Integer getStockQty() {
        return stockQty == null ? 0 : stockQty;
    }

    public void setStockQty(Integer stockQty) {
        this.stockQty = stockQty;
    }

    public Integer getStockPreSubQty() {
        return stockPreSubQty == null ? 0 : stockPreSubQty;
    }

    public void setStockPreSubQty(Integer stockPreSubQty) {
        this.stockPreSubQty = stockPreSubQty;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Date getMtime() {
        return mtime;
    }

    public void setMtime(Date mtime) {
        this.mtime = mtime;
    }
}